Data extraction from medical files